package com.xlh.support.experimentshare.po;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author cheer
 */
@ApiModel("分享实验参数")
@Data
public class ShareExperimentPO {

    /**
     * 分享的目标用户Id集合
     */
    @NotEmpty(message = "未选择分享的用户")
    private List<Long> users;

    /**
     * 是否允许对方控制分享的桌面
     */
    @NotNull(message = "允许对方操作不能为空")
    private Boolean controllable;
}
